package mybox.engine;

public class RlScriptOO {
	
	    File4Qcad file4qcad;
	    double randBeginn_x;
	    double randBeginn_y;
	    double randLaenge;
	    boolean isGlatt;
	    double gesamtLaenge;
	    double richtung_x;
	    double richtung_y;
	    boolean isNachInnen;
	    double zinkenLaenge;
	    double innenLaenge;
	    double aussenLaenge;
	    int    anzahlZinken;
	    
	    public RlScriptOO(File4Qcad file4qcad) {	    	
	    	this.file4qcad=file4qcad;	    	
	    }
	    
	    public void draw() {
	    	
	    	file4qcad.println(
	    			"randline," +
	    			""+randBeginn_x
	    			+","+randBeginn_y
	    			+","+randLaenge
	    			+","+(isGlatt?1:-1)
	    			+","+gesamtLaenge
	    			+","+richtung_x
	    			+","+richtung_y
	    			+","+(isNachInnen?1:-1)
	    			+","+zinkenLaenge
	    			+","+innenLaenge
	    			+","+aussenLaenge
	    			+","+anzahlZinken
	    			+",");
	    			
	    }
	    	
	    

}
